import Vue from 'vue'
//注意：vant ui框架必须在app之前引入
import Vant from 'vant'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
Vue.use(Vant);

// 01 rem适配模块
// $cnpm i amfe-flexible -SVGAElement
// vs code cssrem扩展
// cnpm i amfe-flexible -S
// cnpm install px2rem-loader -D
import "amfe-flexible"

// 02 引入字体图标
import "./assets/font/iconfont.css";
import "./assets/font2/iconfont.css";
import animate from 'animate.css'
Vue.use(animate)


// 03 vant ui 引入
// $cnpm i vant -S
import 'vant/lib/index.css';

import api from './store/api.js'

Vue.prototype.resetSetItem = api;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
